package com.firebird.app.kotlin.stock.ui.login.model

import com.firebird.app.kotlin.stock.data.LoginBean
import com.firebird.app.kotlin.stock.ui.login.contract.LoginContract
import com.firebird.app.kotlin.stock.net.RetrofitClient
import okhttp3.RequestBody
import retrofit2.Call


class LoginModel : LoginContract.Model {
    override fun getData(body: RequestBody?): Call<LoginBean?>? {
        return RetrofitClient.instance?.api?.getLoginData(body)
    }
}